﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Empires.CRL.DataContract;

namespace Empires.BLL.Core.IService
{
    public interface ICompanyNewsService
    {
        List<DefaultDataPack> GetNewsList(string copName, string type, string subject, int page, int size);
        int GetNewsItemCount(string copName, string type, string subject);
        List<DefaultDataPack> GetNewsDetail(int nid);
        int DeleteNewsItem(string copName, int id);

        int AddNewsItem(string cpname, string author, string content, string from, string title);
    }
}
